/**
 * TODO: provide description with examples.
 *
 * @author Andrey Anisimov <hercules@inbox.ru>
 */

class ValidationTarget {

	/**
	 * @param text (string)
	 */
	this.ValidationTarget = function(field) {
		this.field = field;
	}

	/**
	 * @return object
	 */
	this.getField = function() {
		return this.field;
	}

	/**
	 * @return string
	 */
	this.getText = function() {
		return this.field.toString();
	}
}